/*     */ package org.come.Frame;
/*     */ 
/*     */ import com.tool.tcpimg.UIUtils;
/*     */ import java.awt.Component;
/*     */ import java.awt.event.MouseEvent;
/*     */ import java.awt.event.MouseListener;
/*     */ import java.awt.event.MouseMotionListener;
/*     */ import javax.swing.BorderFactory;
/*     */ import javax.swing.JInternalFrame;
/*     */ import javax.swing.plaf.basic.BasicInternalFrameUI;
/*     */ import org.come.Jpanel.experimentCompoundJpanel;
/*     */ import org.come.until.FormsManagement;
/*     */ import org.come.until.Music;
/*     */ 
/*     */ 
/*     */ 
/*     */ public class experimentCompoundJframe
/*     */   extends JInternalFrame
/*     */   implements MouseListener
/*     */ {
/*     */   private experimentCompoundJpanel summoningCompoundJpanel;
/*     */   private int first_x;
/*     */   private int first_y;
/*     */   
/*     */   public static experimentCompoundJframe getSummoningCompoundJframe() {
/*  26 */     return (experimentCompoundJframe)FormsManagement.getInternalForm(700).getFrame();
/*     */   }
/*     */ 
/*     */   
/*     */   public experimentCompoundJframe() {
/*  31 */     this.summoningCompoundJpanel = new experimentCompoundJpanel();
/*  32 */     add((Component)this.summoningCompoundJpanel);
/*     */     
/*  34 */     setBorder(BorderFactory.createEmptyBorder());
/*  35 */     ((BasicInternalFrameUI)getUI()).setNorthPane(null);
/*     */     
/*  37 */     setBounds(210, 170, 456, 372);
/*  38 */     setOpaque(false);
/*  39 */     pack();
/*  40 */     setBackground(UIUtils.Color_BACK);
/*  41 */     setVisible(false);
/*  42 */     setDefaultCloseOperation(3);
/*     */     
/*  44 */     addMouseListener(this);
/*  45 */     addMouseMotionListener(new MouseMotionListener()
/*     */         {
/*     */           @Override
public void mouseMoved(MouseEvent e) {}
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */           
/*     */           @Override
public void mouseDragged(MouseEvent e) {
/*  54 */             if (experimentCompoundJframe.this.isVisible()) {
/*  55 */               int x = e.getX() - experimentCompoundJframe.this.first_x;
/*  56 */               int y = e.getY() - experimentCompoundJframe.this.first_y;
/*  57 */               experimentCompoundJframe.this.setBounds(x + experimentCompoundJframe.this.getX(), y + experimentCompoundJframe.this.getY(), experimentCompoundJframe.this.getWidth(), experimentCompoundJframe.this.getHeight());
/*     */             } 
/*     */           }
/*     */         });
/*     */   }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*     */   @Override
public void mouseClicked(MouseEvent e) {}
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*     */   @Override
public void mousePressed(MouseEvent e) {
/*  73 */     Music.addyinxiao("关闭窗口.mp3");
/*     */     
/*  75 */     if (e.isMetaDown()) {
/*  76 */       FormsManagement.HideForm(700);
/*     */     } else {
/*  78 */       FormsManagement.Switchinglevel(700);
/*     */     } 
/*  80 */     this.first_x = e.getX();
/*  81 */     this.first_y = e.getY();
/*     */   }
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*     */   @Override
public void mouseReleased(MouseEvent e) {}
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*     */   @Override
public void mouseEntered(MouseEvent e) {}
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*     */   @Override
public void mouseExited(MouseEvent e) {}
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*     */   public experimentCompoundJpanel getSummoningCompoundJpanel() {
/* 103 */     return this.summoningCompoundJpanel;
/*     */   }
/*     */   
/*     */   public void setSummoningCompoundJpanel(experimentCompoundJpanel summoningCompoundJpanel) {
/* 107 */     this.summoningCompoundJpanel = summoningCompoundJpanel;
/*     */   }
/*     */ }


/* Location:              C:\Users\Administrator\Desktop\新建文件夹 (22)\ceshifu.jar!\org\come\Frame\experimentCompoundJframe.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */